package com.eduhzy.ttw.teacher.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.eduhzy.ttw.teacher.di.module.ChooseSchoolModule;
import com.eduhzy.ttw.teacher.mvp.contract.ChooseSchoolContract;
import com.jess.arms.di.scope.ActivityScope;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ChooseSchoolActivity;

/**
 * @author xubo
 * @date 2018-7-19 10:06:17
 */
@ActivityScope
@Component(modules = ChooseSchoolModule.class, dependencies = AppComponent.class)
public interface ChooseSchoolComponent {
    void inject(ChooseSchoolActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ChooseSchoolComponent.Builder view(ChooseSchoolContract.View view);

        ChooseSchoolComponent.Builder appComponent(AppComponent appComponent);

        ChooseSchoolComponent build();
    }


}